/**
 * 
 */
package com.lanyou.esb.servicemix.bean;

import java.util.List;

import com.lanyou.esb.servicemix.monitor.rest.bean.Property;

/**
 * @author gonglei
 *
 */
public class Service {
	
	private int id;
	
	private String pid;

	private String types;
	
	private String ranking;
	
	private String bundleId;
	
	private String bundleName;
	
	private String bundleSymbolicName;
	
	private String bundleVersion;
	
	private List<Property> props;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getTypes() {
		return types;
	}

	public void setTypes(String types) {
		this.types = types;
	}

	public String getRanking() {
		return ranking;
	}

	public void setRanking(String ranking) {
		this.ranking = ranking;
	}

	public String getBundleId() {
		return bundleId;
	}

	public void setBundleId(String bundleId) {
		this.bundleId = bundleId;
	}

	public String getBundleName() {
		return bundleName;
	}

	public void setBundleName(String bundleName) {
		this.bundleName = bundleName;
	}

	public String getBundleSymbolicName() {
		return bundleSymbolicName;
	}

	public void setBundleSymbolicName(String bundleSymbolicName) {
		this.bundleSymbolicName = bundleSymbolicName;
	}

	public String getBundleVersion() {
		return bundleVersion;
	}

	public void setBundleVersion(String bundleVersion) {
		this.bundleVersion = bundleVersion;
	}
	
	public List<Property> getProps() {
		return props;
	}
	public void setProps(List<Property> props) {
		this.props = props;
	}

	@Override
	public String toString() {
		return "Service [id=" + id + ", pid=" + pid + ", types=" + types
				+ ", ranking=" + ranking + ", bundleId=" + bundleId
				+ ", bundleName=" + bundleName + ", bundleSymbolicName="
				+ bundleSymbolicName + ", bundleVersion=" + bundleVersion
				+ ", props=" + props + "]";
	}
	
	
}
